import React from 'react';
import { useNavigate } from 'react-router';
import { Button } from 'antd'
export default function NotFount() {
  const navigate = useNavigate()
  const toBack = () => {
    navigate(-1)
  }

  return (
    <>
      <h1>页面丢失了，请联系管理员</h1>
      <Button onClick={ toBack }>返回上一页</Button>
    </>
  )
}